package com.zoanun.tools.error;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("error")
public class ErrorController {

	@RequestMapping("400")
	public String handle400(){
		return "/error/400";
	}
	
	@RequestMapping("403")
	public String handle403(){
		return "/error/403";
	}

	@RequestMapping("404")
	public String handle404(){
		return "/error/404";
	}

	@RequestMapping(value={"500"})
	public String handle500(){
		return "/error/500";
	}

}
